import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'


const router = createRouter({
  // history: createWebHistory(import.meta.env.BASE_URL),
  history:createWebHashHistory(),
  routes: [
    {
      path:'/',
      redirect:'/screenpage'
    },
    {
      path:'/sellerpage',
      component:()=>import('@/views/SellerPage.vue')
    },
    {
      path: '/trendpage',
      component: () => import('@/views/TrendPage.vue')
    },
    {
      path: '/mappage',
      component: () => import('@/views/MapPage.vue')
    },
    {
      path: '/rankpage',
      component: () => import('@/views/RankPage.vue')
    },
    {
      path: '/hotpage',
      component: () => import('@/views/HotPage.vue')
    },
    {
      path: '/stockpage',
      component: () => import('@/views/StockPage.vue')
    },
    {
      path: '/screenpage',
      component: () => import('@/views/ScreenPage.vue')
    },
  ],
})

export default router
